package com.ziyun.erp.common.e.promotion;

import com.ziyun.erp.common.e.BaseEnum;

/**
 * @author jiangli
 * @date 2018-10-23 11:22
 * 适用平台
 */
public enum PurviewEnum implements BaseEnum {
    all("all", "全部",0),
    pc("pc", "pc",1),
    wap("wap", "wap",2),
    weixin("weixin", "微信",3),
    android("android", "安卓",4),
    ios("ios", "苹果",5),
    small_program("small_program", "小程序",6);

    private Integer id;
    private String code;
    private String describe;

    PurviewEnum(String code, String describe,Integer id) {
        this.code = code;
        this.describe = describe;
        this.id=id;
    }




    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return code;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}